package com.jic.order.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.order.entity.OrderLogisticsCompany;
import com.jic.order.manage.response.ExpressMapConfigResponse;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 
 * @author : 
 * @email : 
 * @since : 2020-01-17 05:43:58
 * @version : v1.0.0
 */
@Mapper
public interface  OrderLogisticsCompanyMapper {

    long insert(OrderLogisticsCompany orderLogisticsCompany);

    long delete(Long id);

    long update(OrderLogisticsCompany orderLogisticsCompany);

    OrderLogisticsCompany queryByPrimaryKey(Long id);

    List<OrderLogisticsCompany> query(OrderLogisticsCompany orderLogisticsCompany);

    List<OrderLogisticsCompany> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("orderLogisticsCompany") OrderLogisticsCompany orderLogisticsCompany);

    long queryPageCount(OrderLogisticsCompany orderLogisticsCompany);


    public List<OrderLogisticsCompany> queryByLogisticsCompanyName(@Param("logisticsCompanyName") String logisticsCompanyName);

    public List<OrderLogisticsCompany> queryByLogisticsCompanyNo(@Param("logisticsCompanyNo") String logisticsCompanyNo);

    List<ExpressMapConfigResponse> queryExpressMapConfig();
}